<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	pageContext.setAttribute("ctx", request.getContextPath());
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
	<head>
		<title>博客后台管理</title>
		<meta http-equiv="content-type" content="text/html;charset=UTF-8">
		<link href="${ctx}/admin/images/style.css" type="text/css"
			rel="stylesheet">
	</head>
	<body>
		<div id="container">
			<div id="main">
				<h3>修改分类</h3>
				<s:form action="updateCategory" theme="simple">
					<s:hidden name="category.id" />
					<table id="tab">
						<tr>
							<td>
								名字:
							</td>
							<td>
								<s:textfield name="category.name" size="20" maxlength="20" />
							</td>
						</tr>
						<tr>
							<td>
								描述:
							</td>
							<td>
								<s:textarea name="category.description" cols="40" rows="8" />
							</td>
						</tr>
						<tr>
							<td>
								显示顺序:
							</td>
							<td>
								<s:textfield name="category.displayOrder" size="2" maxlength="2" />
							</td>
						</tr>
						<tr>
							<td colspan="2">
								<s:submit name="submit" value="修改" />
							</td>
						</tr>
					</table>
				</s:form>
			</div>
		</div>
		<%@include file="/admin/footer.jsp"%>